package com.etc.entity;

public class AnswerBean {
    private int aid;
    private String qTitle;
    private String content;
    private String userName;
    private String adate;
    private int userId;
    private int qId;
    private String qDate;
    private String qContent;
    private String cContent;
    private int cId;
    private int aPraise;
    private int qPraise;
    

	public int getqPraise() {
		return qPraise;
	}

	public void setqPraise(int qPraise) {
		this.qPraise = qPraise;
	}

	public int getaPraise() {
		return aPraise;
	}

	public void setaPraise(int aPraise) {
		this.aPraise = aPraise;
	}

	public int getcId() {
		return cId;
	}

	public void setcId(int cId) {
		this.cId = cId;
	}

	public int getqId() {
		return qId;
	}

	public void setqId(int qId) {
		this.qId = qId;
	}

	public String getcContent() {
		return cContent;
	}

	public void setcContent(String cContent) {
		this.cContent = cContent;
	}

	public String getqContent() {
		return qContent;
	}

	public void setqContent(String qContent) {
		this.qContent = qContent;
	}

	public String getqDate() {
		return qDate;
	}

	public void setqDate(String qDate) {
		this.qDate = qDate;
	}

	public AnswerBean() {
		super();
	}
	
	public AnswerBean(int aPraise, int aid) {
		super();
		this.aPraise = aPraise;
		this.aid = aid;
	}
	
	public AnswerBean(String content, String adate, int userId, int qId) {
		super();
		this.content = content;
		this.adate = adate;
		this.userId = userId;
		this.qId = qId;
	}
	
	public AnswerBean(String content, int userId, int qId) {
		super();
		this.content = content;
		this.userId = userId;
		this.qId = qId;
	}
	
	public AnswerBean(String content, String adate, int userId, int qId,int aid) {
		super();
		this.aid = aid;
		this.content = content;
		this.adate = adate;
		this.userId = userId;
		this.qId = qId;
	}

	public AnswerBean(int aid, String qTitle, String content, String userName, String adate, int userId, int qId) {
		super();
		this.aid = aid;
		this.qTitle = qTitle;
		this.content = content;
		this.userName = userName;
		this.adate = adate;
		this.userId = userId;
		this.qId = qId;
	}

	public AnswerBean(int aid, String qTitle, String content, String userName, String adate) {
		super();
		this.aid = aid;
		this.qTitle = qTitle;
		this.content = content;
		this.userName = userName;
		this.adate = adate;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getQid() {
		return qId;
	}
	public void setQid(int qId) {
		this.qId = qId;
	}
	public int getAid() {
		return aid;
	}
	public void setAid(int aid) {
		this.aid = aid;
	}
	public String getqTitle() {
		return qTitle;
	}
	public void setqTitle(String qTitle) {
		this.qTitle = qTitle;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAdate() {
		return adate;
	}
	public void setAdate(String adate) {
		this.adate = adate;
	}
	@Override
	public String toString() {
		return "AnswerBean [aid=" + aid + ", qTitle=" + qTitle + ", content=" + content + ", userName=" + userName
				+ ", adate=" + adate + ", userId=" + userId + ", qId=" + qId + ", qDate=" + qDate + ", qContent="
				+ qContent + ", cContent=" + cContent + ", cId=" + cId + "]";
	}
    
}
